package com.moonshineproject.plugin.settings.vo
{
	import com.moonshineproject.plugin.settings.renderers.StaticLabelRenderer;
	
	import mx.core.IVisualElement;
	
	public class StaticLabelSetting extends AbstractSetting
	{
		public function StaticLabelSetting(label:String)
		{
			super();
			this.label = label;
		}
		
		override public function get renderer():IVisualElement
		{
			var rdr:StaticLabelRenderer = new StaticLabelRenderer();
			rdr.setting = this;
			return rdr;
		}
		
		
		// Do nothing
        override protected function getSetting():*
        {
        	return "";
        }

        override protected function hasProperty(... names:Array):Boolean
        {
            return false;
        }
        
        override protected function setPendingSetting(v:*):void
        {        
        }

        override public function valueChanged():Boolean
        {
            return false;
        }
		
		override public function commitChanges():void
		{
		}
		
	}
}